package com.ruoyi.system.domain.api;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户矿机收益对象 m_user_machine_detail
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class MUserMachineDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户矿机ID */
    @Excel(name = "用户矿机ID")
    private Long userMachineId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 挖矿金额 */
    @Excel(name = "挖矿金额")
    private Long mineAmount;

    /** 第几天收益 */
    @Excel(name = "第几天收益")
    private Long mineDay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserMachineId(Long userMachineId) 
    {
        this.userMachineId = userMachineId;
    }

    public Long getUserMachineId() 
    {
        return userMachineId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMineAmount(Long mineAmount) 
    {
        this.mineAmount = mineAmount;
    }

    public Long getMineAmount() 
    {
        return mineAmount;
    }
    public void setMineDay(Long mineDay) 
    {
        this.mineDay = mineDay;
    }

    public Long getMineDay() 
    {
        return mineDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userMachineId", getUserMachineId())
            .append("userId", getUserId())
            .append("mineAmount", getMineAmount())
            .append("mineDay", getMineDay())
            .append("createTime", getCreateTime())
            .toString();
    }
}
